package com.spring.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller public class SpringController {
	
	@RequestMapping("/spring")
	
	public ModelAndView springLove() {

		String sMessage = "I Love Spring Frameworkl";
		return new ModelAndView("spring", "message", sMessage);
	}
}